import {
  axios
} from '@/utils/request'

export function getActiveList (parameter) {
  return axios({
    url: '/admin/tem/tem_list',
    method: 'get',
    data: parameter
  })
}

export function getAddAct (parameter) {
  return axios({
    url: '/admin/tem/add_tem',
    method: 'post',
    data: parameter
  })
}

export function setActiveList (parameter) {
  return axios({
    url: '/admin/tem/set_tem',
    method: 'post',
    data: parameter
  })
}

export function deleteActive (parameter) {
  return axios({
    url: '/admin/tem/del_tem',
    method: 'post',
    data: parameter
  })
}
